//
//  IGIssueImageCell.m
//  jingdongfang
//
//  Created by BOE on 2017/8/16.
//  Copyright © 2017年 kevinLY. All rights reserved.
//

#import "IGIssueImageCell.h"

@implementation IGIssueImageCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UIView *layerView = [[UIView alloc] initWithFrame:self.contentView.bounds];
        layerView.layer.cornerRadius = 6.0;
        layerView.backgroundColor = [UIColor orangeColor];
        
        _imageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
        _imageView.contentMode = UIViewContentModeScaleAspectFill;
        _imageView.backgroundColor = [UIColor colorWithHex:@"EDEDED"];
        _imageView.maskView = layerView;
        [self.contentView addSubview:_imageView];
    }
    return self;
}

@end
